package service;

import java.util.List;

import dao.PetDao;
import entity.Pet;


public class PetService {
	PetDao petDao=new PetDao();
	
	public List<Pet> idList(int breed){
		return petDao.idList(breed);
	}
	
	public int petunied(String name){
		return petDao.petunied(name);
	}

	PetDao dao=new PetDao();
	
	public List<Pet>list(){
		
		return dao.list();
	}
	
	public int add(Pet pet){
		
		return dao.add(pet);

}
	}
	
